package com.example.mobile_EnumMoudle;

public enum EnumDataExecType {
	None(0), Insert(1), Update(2), Delete(3);

	private int value;
	private EnumDataExecType(int value) {
		this.value = value;
	}

	public int getValue() {
		return value;
	}

	public static EnumDataExecType getEnumFromString(String string) {
		if (string != null) {
			return Enum.valueOf(EnumDataExecType.class, string.trim());
		}
		return null;
	}
}
